"
I am a an object representing a MacOSX platform. Use myself to access platform specific features.

Please keep me polymorphic to the the other platform objects.

To get the current platform, you can evaluate:

OSPlatform current.
"
Class {
	#name : 'MacOSXPlatform',
	#superclass : 'MacOSPlatform',
	#category : 'System-Platforms-Mac',
	#package : 'System-Platforms',
	#tag : 'Mac'
}

{ #category : 'testing' }
MacOSXPlatform class >> isActivePlatform [
	^ self isMacOS
]

{ #category : 'visiting' }
MacOSXPlatform >> accept: aVisitor [

	^ aVisitor visitMacOSX: self
]

{ #category : 'accessing' }
MacOSXPlatform >> family [
	^#MacOSX
]

{ #category : 'error handling' }
MacOSXPlatform >> getErrorMessage: errnum [

	^ self ffiCall: #(char *strerror(int errnum)) module: #LibC
]

{ #category : 'testing' }
MacOSXPlatform >> isMacOSX [
	^ true
]
